package com.google.code.p.restrpc;

/**
 * @author dz
 */
public class RpcFault {
    
    private boolean bizError;
    
    private String code;
    
    private String message;
    
    private String detail;
    
    /**
     * @return the bizError
     */
    public boolean isBizError() {
        return bizError;
    }
    
    /**
     * @param bizError
     *            the bizError to set
     */
    public void setBizError(boolean bizError) {
        this.bizError = bizError;
    }
    
    /**
     * @return the code
     */
    public String getCode() {
        return code;
    }
    
    /**
     * @param code
     *            the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }
    
    /**
     * @return the message
     */
    public String getMessage() {
        return message;
    }
    
    /**
     * @param message
     *            the message to set
     */
    public void setMessage(String message) {
        this.message = message;
    }
    
    /**
     * @return the detail
     */
    public String getDetail() {
        return detail;
    }
    
    /**
     * @param detail
     *            the detail to set
     */
    public void setDetail(String detail) {
        this.detail = detail;
    }
    
}
